<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var campaignId = window.dialogArguments;
var getcampaignUrl = "/campaign/get/";
var editcampaignUrl = "/campaign/edit/";
$(document).ready(function() {
	$.ajax({
		   type: "GET",
		   url: getcampaignUrl,
		   data: "campaignId=" + campaignId,
		   dataType: "json",
		   success: function(data) {
			   if(data.code > 0) {
				   var result = data.result;
				   $("#campaignId").html(result.campaignId);
				   $("#deployId").html(result.deployId);
				   $("#name").html('"'+result.name+'"');				   $("#desc").html('"'+result.desc+'"');				   $("#battlePointIds").html(result.battlePointIds);				   $("#status").html(result.status);				   $("#vip").html(result.vip);				   $("#mapId").html(result.mapId);				   $("#userLevel").html(result.userLevel);				   $("#coorX").html(result.coorX);				   $("#coorY").html(result.coorY);				   $("#music").html(result.music);				   $("#frontCompaignIds").html(result.frontCompaignIds);				   $("#afterCompaignIds").html(result.afterCompaignIds);				   				   
			   }else {
				   errDialog(data.message);
			   }
		   }
	});
});

</script>
<body>
<div class="json">
{<br/>
<span class="jsonkey">campaignId:</span><span id="campaignId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">name:</span><span id="name" class="jsonvalue"></span>,<br/>
<span class="jsonkey">desc:</span><span id="desc" class="jsonvalue"></span>,<br/>
<span class="jsonkey">battlePointIds:</span><span id="battlePointIds" class="jsonvalue"></span>,<br/>
<span class="jsonkey">status:</span><span id="status" class="jsonvalue"></span>,<br/>
<span class="jsonkey">vip:</span><span id="vip" class="jsonvalue"></span>,<br/>
<span class="jsonkey">mapId:</span><span id="mapId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">userLevel:</span><span id="userLevel" class="jsonvalue"></span>,<br/>
<span class="jsonkey">coorX:</span><span id="coorX" class="jsonvalue"></span>,<br/>
<span class="jsonkey">coorY:</span><span id="coorY" class="jsonvalue"></span>,<br/>
<span class="jsonkey">music:</span><span id="music" class="jsonvalue"></span>,<br/>
<span class="jsonkey">frontCompaignIds:</span><span id="frontCompaignIds" class="jsonvalue"></span>,<br/>
<span class="jsonkey">afterCompaignIds:</span><span id="afterCompaignIds" class="jsonvalue"></span><br/>
</br>
}
</div>
</body>